package com.teamwhole.modules.sys.dao;

import java.util.List;

import com.teamwhole.core.persistence.dao.CrudDao;
import com.teamwhole.core.persistence.annotation.MyBatisDao;
import com.teamwhole.modules.sys.entity.Menu;

@MyBatisDao
public interface MenuDao extends CrudDao<Menu>{
	
	List<Menu> findAllList(Menu menu);
	
	List<Menu> findByUserId(Menu m);
	
	Menu getByPermission(String permission);
	
}
